package com.foryou.system.modules.sys.service;




import com.foryou.system.modules.sys.entity.SysRoleEntity;

import java.util.List;
import java.util.Map;


/**
 * 角色
 *
 * Created by LJX
 * 2017/12/16 0016 下午 9:43
 */
public interface SysRoleService {
	
	SysRoleEntity queryObject(Long roleId);
	
	List<SysRoleEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysRoleEntity role);
	
	void update(SysRoleEntity role);
	
	void deleteBatch(Long[] roleIds);

	List<SysRoleEntity> querySysRoleList();

	SysRoleEntity queryRoleByName(Object roleName);
}
